#ifndef __TELEINFO_H_
#define __TELEINFO_H_


#include <stdio.h>
#include <string.h>
#include <stdbool.h>

typedef void* ElementType;

typedef struct DynamicArray DArray;


DArray*InitDArray(int capacity, void (*free)(void *));
void FreeDArray(void*b);
bool InsertTail(DArray *b, ElementType element);
void DeleteByIndex(DArray*Ptr,int Index);
void PrintArray(DArray* ptr,void(*print)(void*));
void DeleteByElement(DArray*ptr,ElementType element);
ElementType FindElement(DArray *a, ElementType element, bool (*find)(ElementType, ElementType));
int ReturnSize(DArray*ptr);
void*ReturnArray(DArray*ptr,int i);


















#endif